﻿#ifndef READFILE_H
#define READFILE_H

#include <QObject>
#include "header/xlsxdocument.h"
#include "columnmapping.h"
#include <QThread>
#include <QDebug>
#include <QMutex>


class ReadFile : public QObject
{
    Q_OBJECT
public:
    explicit ReadFile(QObject *parent = nullptr);
    void readFile(QXlsx::Document* outFile, QString iFilePath, QString resFilePath, int start, int end, QVector<COLUMN_MAP> dataVector);

signals:
    void finishSignal();

private:
    QMutex m_mutex;
};

#endif // READFILE_H
